//
//  TestCell.h
//  TableView 封装
//
//  Created by Kevin on 17/11/1.
//  Copyright © 2017年 JOWO.team. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TestModel.h"


typedef void(^deleteCellBlock)(NSInteger index);

@interface TestCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIButton *deleteBtn;
@property (weak, nonatomic) IBOutlet UILabel *title;
@property (weak, nonatomic) IBOutlet UIButton *fitBtn;


+ (id)creatXibCellWithTarget:(id)target index:(NSIndexPath *)index tableView:(UITableView *)tableView model:(TestModel *)model;

- (void)deleteCellWithIndex:(deleteCellBlock)deleteBlock;

@end
